package com.spsy.controller;

import com.spsy.server.LoginService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author: Sokai
 * @Date: 2024/10/17 22:01
 * @Description:
 **/
@RestController
@RequestMapping("/user")
public class SystemServerController {

    @Autowired
    LoginService loginService;

    @PostMapping("login")
    public String login() {
        return loginService.login();
    }

}
